import BasicLayout from '../layouts/BasicLayout'

/* 预设动态路由 */
export const asyncRouterMap = []

export const constantRouterMap = [{
    path: '/',
    name: 'Home',
    component: () =>
        import ('@/views/home/index')
}, {
    path: '/album',
    name: 'album',
    redirect: '/album/diy1',
    component: BasicLayout,
    children: [{
        path: '/album/diy1',
        name: 'diy',
        meta: {
            requiresAuth: true
        },
        component: () =>
            import ('@/views/album/diy1.vue'),
    }]
}, {
    path: '/preview',
    name: 'preview',
    component: () =>
        import ('@/views/preview.vue')
}]


export default constantRouterMap;